package com.study.javaOther.permission.accoperation;

/**
 * @Name: DefaultOperation
 * @Description: java类作用描述
 * @Author: yn
 * @CreateDate: 2022/4/14 16:15
 * @Remark: 特殊说明
 * @Version: 1.0
 */
public class DefaultOperation extends IACCOperation {
    @Override
    public boolean match(String left, String right) {
        return this.resolveSemicolon(resolveMatch(left)).stream().distinct().filter((item) -> this.resolveWildcards(left,item)).findFirst().isPresent();
    }
}
